<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>打印倒直角三角形</title>
	<script type="text/javascript">
		//.用*打印倒直角三角形(9,7,5,3,1)
		for(var i=9;i>=1;i-=2){
			for(var j=1;j<=i;j++){
				document.write('*');
			}
			document.write('<br/>');
		}
	</script>
</head>
<body>
	
</body>
</html>